package yogaModel

import (
	"time"
)

type ReqHome struct {
	Id       int    `json:"id"`
	FormId   int    `json:"form_id" binding:"required" required_err:"参数缺失【form_id】"`
	HomeType int    `json:"home_type" binding:"required" required_err:"参数缺失【home_type】"`
	Name     string `json:"name" binding:"required" required_err:"参数缺失【name】"`
	SubMchId string `json:"sub_mch_id" binding:"required" required_err:"参数缺失【sub_mch_id】"`
	Weight   int    `json:"weight"`
	VenueId  int    `json:"venue_id" binding:"required" required_err:"参数缺失【venue_id】"`
}
type RspHome struct {
	Id        int       `json:"id"`
	Name      string    `json:"name"`
	DeletedAt time.Time `xorm:"deleted" json:"-" form:"deleted_at" mapstructure:"deleted_at"`
}
type RspHomeList struct {
	VenueInfo   ReqVenue         `json:"venue_info"`
	VenueBanner []string         `json:"venue_banner"`
	Notice      []ReqNotice      `json:"notice"`
	Course      []ReqCourse      `json:"course"`
	Teacher     []ReqTeacher     `json:"teacher"`
	GroupClass  []JoinGroupClass `json:"group_class"`
	TodayClass  []JoinGroupClass `json:"today_class"`
}
